<?php 

$data = $_POST;

$data['create_time'] = time();

$db = include './db.php';

array_push($db, $data);
//$db[]=$data;

$str = var_export($db,true);

$str = "<?php return ".$str." ?>";

file_put_contents('./db.php', $str);

header("Location:./index.php");







 ?>